//
//  DLInvestVC.m
//  delongzhitou
//
//  Created by Mr.Wang on 2018/11/22.
//  Copyright © 2018 delongzhitou. All rights reserved.
//

#import "DLInvestVC.h"

@interface DLInvestVC ()<ChartViewDelegate>



@end

@implementation DLInvestVC


- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self setUpNav];
}


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self layoutSubControls];


}

- (void) layoutSubControls {

    UIView *investBgView = [UIView new];
    investBgView.frame = CGRectMake(0, 0, kScreenWidth, kAutoWidth(306));
    investBgView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"invest_bg"]];
    [self.view addSubview:investBgView];
}



- (void) setUpNav {
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem new];
    self.navigationController.navigationBarHidden = YES;
    self.navigationController.navigationBar.translucent = YES;
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
